package com.hgw.Demo02_FactoryMethod.Exercises4_9_4;

/**
 * Data time:2021/12/12 10:59
 * StudentID:2019112118
 * Author:hgw
 * Description: 奔驰工厂类，充当具体工厂
 */
public class BenzCarFactory implements CarFactory{
    @Override
    public Car createCar() {
        return new BenzCar();
    }
}
